package com.millstein.tsinglog.model.vo.sys;

import com.millstein.tsinglog.model.pojo.User;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

@Data
@NoArgsConstructor
public class UserVo extends User {

    private String roleName;

    public UserVo(User user) {
        BeanUtils.copyProperties(user, this);
    }

}
